package org.devgframwork.datasync.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("t_rabbit_config")
public class RabbitConfig {

    @TableId("RABBIT_CONFIG_ID")
    private Long rabbitConfigId;

    @TableField("CONNECTION_NAME")
    private String connectionName;

    @TableField("HOST")
    private String host;

    @TableField("PORT")
    private Integer port;

    @TableField("USERNAME")
    private String username;

    @TableField("PASSWORD")
    private String password;

    @TableField("VIRTUAL_HOST")
    private String virtualHost;

    @TableField("THREAD_POOL_SIZE")
    private Integer threadPoolSize;

    @TableField("IS_DELETE")
    private Integer isDelete;
}
